package core

import (
	"goetl/models"
)

//控件上下文
type ComponentContext struct {
	deployment      models.AgentDeployment
	manipulatedFlow models.Flow
	flowStep        *models.FlowStep
	flowParameters  map[string]string
	StartStep       bool
}

func NewComponentContext(deployment models.AgentDeployment, manipulatedFlow models.Flow, flowStep *models.FlowStep, flowParameters map[string]string) *ComponentContext {
	return &ComponentContext{deployment: deployment, manipulatedFlow: manipulatedFlow, flowStep: flowStep, flowParameters: flowParameters, StartStep: false}
}
